package com.taojie.graduation.service.api;

import com.taojie.graduation.domain.Product;
import com.taojie.graduation.utils.Result;

public interface ProductService {
    Result findProductPage(int page, int size, String query);

    Result findProductById(Integer id);

    Result updateById(Product product);

    Result deleteById(Integer id);

    Result add(Product product);
}
